#define _CRT_SECURE_NO_WARNINGS 1

#include "BinaryTree.h"


int main()
{

	BTNode* root = CreatTree();

	BinaryTreePrevOrder(root);
	printf("\n");

	BinaryTreeInOrder(root);
	printf("\n");

	BinaryTreePostOrder(root);
	printf("\n");

	printf("%d\n", BinaryTreeSize(root));

	printf("%d\n", BinaryTreeLeafSize(root));

	printf("%d\n", BinaryTreeHeight(root));

	BinaryTreeLevelOrder(root);
	printf("\n");

	printf("%d", BinaryTreeComplete(root));
	return 0;
}